package net.guerlab.sdk.anubis;

import com.fasterxml.jackson.databind.ObjectMapper;

import net.guerlab.sdk.anubis.accesstoken.AccessTokenManager;
import net.guerlab.sdk.anubis.client.AnubisClient;
import net.guerlab.sdk.anubis.client.impl.DefaultAnubisClient;
import net.guerlab.sdk.anubis.config.AnubisAutoConfiguration;

/**
 * demo配置
 * 
 * @author guer
 *
 */
public class DemoConfig {

    /**
     * 应用id
     */
    public static final String APP_ID = "";

    /**
     * 应用密钥
     */
    public static final String SECRET_KEY = "";

    /**
     * 请求客户端对象
     */
    public static final AnubisClient CLIENT = new DefaultAnubisClient(APP_ID, SECRET_KEY, AnubisConstants.HOST_DEV,
            AnubisAutoConfiguration.createHttpClient(), new ObjectMapper());

    static {
        AccessTokenManager.instance().setClient(CLIENT);
    }
}
